package RadianceM.DistributionSystem.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Schema(
        name = "ApartmentJob",
        title = "楼栋负责人",
        description = ""
)
@TableName(value = "dorm_apartment_job")
public class ApartmentJob {

    @Schema(title = "工作内容id", description = "")
    @TableId(value = "work_context_id")
    private Long workContextId;

    @Schema(title = "楼栋id", description = "")
    @TableField(value = "apartment_id")
    private Long apartmentId;

    @Schema(title = "服务评价", description = "")
    @TableField(value = "work_idea")
    private String workIdea;
}
